package com.example.fashionshoes.pojo.po;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class AddressBook {
    private Integer id;
    private Integer userId;
    @NotBlank
    private String consignee;
    @NotBlank
    private String phone;
    @NotBlank
    private String provinceName;
    @NotBlank
    private String cityName;
    @NotBlank
    private String districtName;
    @NotBlank
    private String detail;
    //0为默认地址，1为普通地址
    private Integer isDefault;
    private String fullAddress;
}
